//
//  PositionSelectView.h
//  CheckInforDemo
//
//  Created by bob on 2017/8/10.
//  Copyright © 2017年 bob. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^SelectBlock)(NSString*empName,NSString*empID);

typedef enum : NSUInteger {
    GetArealist=1, //获取地区
    GetshopsGroup=2, //获取分组
    GetTypelist=3,//获取类型
    GetSubjectList=4,//检查表列表
    GetISAnswer=5,//是否交卷
    AdditiveType=6,//添加剂分类列表
    ProductType=7,//商品分类
    ExaminationType=8,//考题列表
   
} SeletionType;

@interface PositionSelectView : UIView
@property (weak, nonatomic) IBOutlet UIPickerView *PostionPickView;
@property (weak, nonatomic) IBOutlet UIView *ToolBarView;
@property (weak, nonatomic) IBOutlet UIActivityIndicatorView *ActivityIndicator;
@property (weak, nonatomic) IBOutlet UIView *bagView;

@property (weak, nonatomic) IBOutlet UIButton *TipBtn;
@property (weak, nonatomic) IBOutlet UIView *ContentView;

@property(nonatomic,copy)SelectBlock block;

-(instancetype)initWithFrame:(CGRect)frame andType:(SeletionType)type andArr:(NSArray*)ChooseArr andparam:(NSDictionary*)dict;

-(void)PopWithView:(UIView*)SupView;


-(void)dissminsView;

@end
